package com.xrit.service.Impl;

import com.xrit.dao.UserDao;
import com.xrit.pojo.User;
import com.xrit.service.UserService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@MapperScan("com.xrit.dao")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    public Integer findByUserCount(User user) {
        return userDao.findByUserCount(user);
    }
}
